The Dreamweaver JavaScript API > Layout view functions > dom.createLayoutTable()

 

dom.createLayoutTable()

Availability

Dreamweaver 4.0

Description

Creates a layout table in the current document at the specified position and dimensions, either within an existing table or in the area below the existing content on the page. If the table is being created in an existing layout table, it cannot overlap other layout cells or nested layout tables, but can contain other layout cells or nested layout tables. This function does not force the document into Layout view. This function fails if the table can't be created.

Arguments

left, top, width, height

left is the x position of the left border of the table.
top is the y position of the top border of the table.
width is the width of the table in pixels.
height is the height of the table in pixels.

Returns

Nothing.